<template>
   <div class="main">
        <div class="w bigmain">
            <p class="">
                <i class="iconfont icon-duigou"></i>
                <span> 恭喜您，支付成功啦！ </span>
            </p>
            <div class="bigdiv">
                <div @click="$router.push('/myorder')">查看订单</div>
                <div @click="$router.push('/')">继续购物</div>
            </div>
        </div>
    </div>
</template>

<script>
export default {
    name:'paySuccess'
}
</script>

<style scoped lang='less'>
.main{
    .bigmain{
        border: 1px solid #d3d3d3;
        padding: 25px;
        p{
            margin: auto;
            display: flex;
            justify-content: center;
            i{
                font-size: 40px;
                color: green;
            }
            span{
                line-height: 40px;
                display: block;
                font-size: 22px;
                align-self: center;
                margin-left: 10px;
            }
        }
        .bigdiv{
            margin-top: 30px;
            display: flex;
            justify-content: center;
            div{
                width: 100px;
                height: 30px;
                background-color: #e1251b;
                text-align: center;
                font-size: 17px;
                line-height: 30px;
                color: #fff;
                cursor: pointer;
            }
            &>div:last-child{ 
                color: #666;
                background-color: #eee;
                margin-left: 20px;
            }
        }
    }
}
</style>